package cn.iocoder.yudao.module.member.service.profit;

import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
import cn.iocoder.yudao.module.signature.service.signinfo.ApplicationSignInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
@Slf4j
public class ApplicationProfitTask implements JobHandler {


    @Resource
    private ProfitService profitService;
    @Override
    public String execute(String param) throws Exception {
        log.info("ApplicationProfitTask.execute param:{}", param);
        profitService.excuteSignTask();
        return "success";
    }
}
